package com.powerbridge.example.service;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.powerbridge.example.dao.EchoDAO;
import com.powerbridge.example.domain.Echo;
import com.powerbridge.platform.core.service.BaseService;

@Service
public class EchoService extends BaseService<EchoDAO, Echo>{

	private static final Logger LOG = LoggerFactory.getLogger(EchoService.class);
	
	@Autowired
	private EchoDAO echoMapper;
	
	public Echo findByUUID(String uuid) {
		return echoMapper.getEchoById(uuid);
	}
}

